.box {
  margin-bottom: 1rem;
  background-color: #fff;
  max-height: 1000px;
  overflow: hidden;
  display: block;
  transition: transform 1.5s;
  &.box-close {

    height: auto;
  }
  &-header {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    border-top: 4px solid #d2d6de;
    border-bottom: 1px solid #f4f4f4;
    padding: .5rem 1rem;
    h3 {
      margin: 0;
    }
    div {
      position: absolute;
      top: .5rem;
      right: 1rem;
      & > * {
        display: inline-block;
        margin: 0 .5em;
        width: 1em;
        height: 1em;
        line-height: 1.5;
        vertical-align: middle;
        cursor: pointer;
        color: #97a0b3;
        &:hover {
          color: #606c84;
        }
        &:last-child {
          margin-right: 0;
        }
        &.rotate-45{
          transform: rotate(-45deg);
        }
      }
    }
  }
  &-body {
    padding: .5rem 1rem;
    transform-origin: center top;
    transform: scale(1, 1);
    transition: all 1.5s;
    &.body-close {
      height: 0;
      width: 0;
      padding: 0;
      opacity: 0;
      transform: scale(1,0);
    }
  }
}
